<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script>
        var x, y,z;
        for(x = 1; x <= 25; x++){
            for(y = 1; y <= 24; y++){
                for(z = 1; z <= 27; z++){
                    if(x + y == 25 && y + z == 31 && x + z ==28){
                       document.write("红球:"+x+" "+"白球："+y+" "+"黑球："+z+" ");
                       // console.log("红球:"+x+" "+"白球："+y+" "+"黑球："+z+" ");
                        break;
                    }
                }
            }
        }
    </script>
</head>
<body>

</body>
</html>